Metamorphic Testing of Relation Extraction Models
نویسندگان
چکیده
Relation extraction (RE) is a fundamental NLP task that aims to identify relations between some entities regarding given text. RE forms the basis for many advanced tasks, such as question answering and text summarization, thus its quality critical relevant downstream applications. However, evaluating of models non-trivial. On one hand, obtaining ground truth labels individual test inputs tedious even difficult. other there an increasing need understand characteristics in terms various aspects. To mitigate these issues, this study proposes by applying metamorphic testing (MT). A total eight (MRs) are identified based on three categories transformation operations, namely replacement, swap, combination. These MRs encode expected properties different aspects RE. We further apply MT popular models. Our experiments reveal large number prediction failures subject models, confirming effective Further analysis experimental results reveals advantages disadvantages our also uncovers typical issues
منابع مشابه
Automated metamorphic testing on the analyses of feature models
Context. A Feature Model (FM) represents the valid combinations of features in a domain. The automated extraction of information from FMs is a complex task that involves numerous analysis operations, techniques and tools. Current testing methods in this context are manual and rely on the ability of the tester to decide whether the output of an analysis is correct. However, this is acknowledged ...
متن کاملAutomated Metamorphic Testing
Usual techniques for automatic test data generation are based on the assumption that a complete oracle will be available during the testing process. However, there are programs for which this assumption is unreasonable. Recently, Chen et al. [3, 4] proposed to overcome this obstacle by using known relations over the input data and their unknown expected outputs to seek a subclass of faults insi...
متن کاملEffectiveness of Teaching Metamorphic Testing
This paper is an attempt to understand the effectiveness of teaching metamorphic properties in a senior/graduate software engineering course classroom environment through gauging the success achieved by students in identifying these properties on the basis of the lectures and materials provided in class. The main findings were: (1) most of the students either misunderstood what metamorphic prop...
متن کاملMetamorphic Testing and Testing with Special Values
The problem of testing programs without test oracles is well known. A commonly used approach is to use special values in testing but this is often insufficient to ensure program correctness. This paper demonstrates the use of metamorphic testing to uncover faults in programs, which could not be detected by special test values. Metamorphic testing can be used as a complementary test method to sp...
متن کاملTesting Model Transformation Programs using Metamorphic Testing
Model transformations are crucial for the success of Model Driven Engineering. Testing is a prevailing technique of verifying the correctness of model transformation programs. A major challenge in model transformation testing is the oracle problem, which refers to the difficulty or high cost in determining the correctness of the output models. Metamorphic Testing alleviates the oracle problem b...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Algorithms
سال: 2023
ISSN: ['1999-4893']
DOI: https://doi.org/10.3390/a16020102